package com.itheima.shop.state_review;

/**
 * @program: design
 * @description:
 * @author: zhanghz001
 * @create: 2021-02-27 20:26
 **/
public class CancelStateReview implements StateReview {
    @Override
    public void doAction(OrderReview orderReview) {
        
        System.out.println("cancel");
        orderReview.setStateReview(this);
    }
    
    @Override
    public void execute() {
        System.out.println("库存回滚中");
    }
}
